﻿// owner 蒋家伟

#pragma once
#include "WeakReference.h"
#include "ModelBase_home.h"

namespace jsdk
{
    class IArgs;
    // 事件处理的基类
    class MODELBASE_EXPORT IHandler : public WeakReference
    {
    public:
        virtual ~IHandler() {}

        virtual void On(const IArgs* pArgs) = 0;
    };
}